#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
using namespace std;
typedef unsigned int un;

int main()
{
	char a = 2;
	char b = 3;

	cout << "a + b = " << (int)(a + b) << endl;
	cout << "a < b :" << (a < b ? "true" : "false") <<endl;

	char c = 80;
	char d = 102;
	cout << (int)c << " " << (int)d << endl;
	
	/*for (int i = 33; i < 128; i++)
	{
		cout << i << ":" << (char)i <<"     ";
		if (i % 4 == 0)
			cout << endl;
	}*/

	int dec = 10;
	int oct = 0213;
	int hex = 0x4b;
	un uint = 30u;
	long int lint = 30l;
	unsigned long int ulint = 30ul;

	cout << dec << endl;
	cout << oct << endl;
	cout << hex << endl;
	cout << lint << endl;
	cout << ulint << endl;


	float f = 3.141f;
	cout << f << endl;
	double lf = 3.141;
	cout << lf << endl;

	cout << "hello\nshabi" << endl;

	return 0;
}

//int main()
//{
//	char a = 2;
//	char b = 3;
//
//	printf("%s", a < b ? "true":"false");
//
//	return 0;
//}
